package com.zuipin.entity.product;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 
 *
 * @ClassName PropertiesInfo 
 * @author wangcongyi
 * @date 2017年4月18日 下午5:10:12
 */
@ApiModel(description = "属性")
public class PropertiesInfo {
	private Long				id;							// 属性信息ID
	
	private String				propNo;						// 属性编号
	
	private String				propCode;					// 属性编号
	
	private String				propName;					// 属性名称
	
	private Integer				propType;					// 属性类型
	
	private Boolean				isCheckUp;					// 是否品鉴属性
	
	private String				remark;						// 属性描述
	
	private String				state;						// 状态'Enable','Disable','not_active'
	
	private Long				sysId;						// 系统ID
	
	private Boolean				delFlag;					// 删除标志 0 未删除 1 已删除
	
	private Long				createId;					// 创建者
	
	private String				createTime;					// 创建时间
	
	private Long				updateId;					// 更新者
	
	private String				updateTime;					// 更新时间
	
	public static final String	ENABLE		= "ENABLE";		// 启用状态
	
	public static final String	DISABLE		= "DISABLE";	// 禁用状态
	
	public static final Integer	CHOOSE		= 1;			// 多选项
	public static final Integer	TEXT		= 2;			// 文本项
	
	public static final String	PC			= "PC";
	public static final String	WAP			= "WAP";
	
	public static final String	PROP_NO_PRE	= "SX000";		// 属性编号前缀
	
	private Integer				isSetVal;					// 返回的vo字段 非数据库字段 判断属性类型为多选项时有没有设置相应的属性值 0没有 1有
	
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	@ApiModelProperty(value = "属性英文备注")
	public String getPropCode() {
		return propCode;
	}
	
	public void setPropCode(String propCode) {
		this.propCode = propCode;
	}
	
	@ApiModelProperty(value = "属性名称")
	public String getPropName() {
		return propName;
	}
	
	public void setPropName(String propName) {
		this.propName = propName == null ? null : propName.trim();
	}
	
	@ApiModelProperty(value = "属性类型")
	public Integer getPropType() {
		return propType;
	}
	
	public void setPropType(Integer propType) {
		this.propType = propType;
	}
	
	public Boolean getIsCheckUp() {
		return isCheckUp;
	}
	
	public void setIsCheckUp(Boolean isCheckUp) {
		this.isCheckUp = isCheckUp;
	}
	
	@ApiModelProperty(value = "属性备注")
	public String getRemark() {
		return remark;
	}
	
	public void setRemark(String remark) {
		this.remark = remark == null ? null : remark.trim();
	}
	
	@ApiModelProperty(value = "属性状态")
	public String getState() {
		return state;
	}
	
	public void setState(String state) {
		this.state = state == null ? null : state.trim();
	}
	
	public Long getSysId() {
		return sysId;
	}
	
	public void setSysId(Long sysId) {
		this.sysId = sysId;
	}
	
	public Boolean getDelFlag() {
		return delFlag;
	}
	
	public void setDelFlag(Boolean delFlag) {
		this.delFlag = delFlag;
	}
	
	public Long getCreateId() {
		return createId;
	}
	
	public void setCreateId(Long createId) {
		this.createId = createId;
	}
	
	@ApiModelProperty(value = "属性创建时间")
	public String getCreateTime() {
		return createTime;
	}
	
	public void setCreateTime(String createTime) {
		this.createTime = createTime == null ? null : createTime.trim();
	}
	
	public Long getUpdateId() {
		return updateId;
	}
	
	public void setUpdateId(Long updateId) {
		this.updateId = updateId;
	}
	
	public String getUpdateTime() {
		return updateTime;
	}
	
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime == null ? null : updateTime.trim();
	}
	
	@ApiModelProperty(value = "返回的vo字段 非数据库字段    判断属性类型为多选项时有没有设置相应的属性值   0没有 1有")
	public Integer getIsSetVal() {
		return isSetVal;
	}
	
	public void setIsSetVal(Integer isSetVal) {
		this.isSetVal = isSetVal;
	}
	
	@ApiModelProperty(value = "属性编码")
	public String getPropNo() {
		return propNo;
	}
	
	public void setPropNo(String propNo) {
		this.propNo = propNo;
	}
	
}